<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.tietiao.com/functions" prefix="my"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>贴条首页</title>
<%@ include file="../include/include.jsp"%>
<script type="text/javascript" src="./js/lazyload/lazyload_src.js"></script>
<script type="text/javascript" src="./js/fg/commodity/commodity.js"></script>
<script type="text/javascript">
	$(function() {
		$(".boxy").boxy();
		$('#more').mouseenter(function(){
			$('.msg-details').show();
			$('.msg-details').mouseleave(function(){
				$(this).hide();
			});
		});
	});
	$(document).ready(function() {
		var url = "index_commodity_loadCommodityInfo.htm";
		commodity.loadCommodityInfo(url);
		//commodity.loadLableInfoList();
	});
</script>
</head>
<body style="overflow: inherit;" class="no-subnav page-home">
<c:import url="../include/default_head.jsp" >
	<c:param name="menu" value="1" />
</c:import>
<div class="container">
	<div id="content">
		<div class="wrapper-content">
			<c:choose>
				<c:when test="${userInfo != null}">
				<div class="wrapper-content-title"> 
					<a id="time_sort_id" href="javascript:commodity.order('time_sort_id')" class="sort sort-time-selected">按时间&nbsp;</a>
					<a id="hot_sort_id" href="javascript:commodity.order('hot_sort_id')" class="sort sort-hot-selected">按贴条&nbsp;</a> 
				</div>
				</c:when>
<%--				<c:otherwise>--%>
<%--			   		<span>热门商品</span>--%>
<%--			    </c:otherwise>--%>
			</c:choose>
			<div class="container">
		</div>
<%--			<div class="wrapper-content-title">--%>
<%--				<c:choose>--%>
<%--					<c:when test="${userInfo != null}">--%>
<%--						<a id="time_sort_id" href="javascript:commodity.order('time_sort_id')" class="sort sortselected">时间&nbsp;</a>--%>
<%--						<a id="hot_sort_id" href="javascript:commodity.order('hot_sort_id')" class="sort">贴条&nbsp;</a> --%>
<%--				    </c:when>--%>
<%--				    <c:otherwise>--%>
<%--				   		<span>热门商品</span>--%>
<%--				    </c:otherwise>--%>
<%--				</c:choose>--%>
<%--			</div>--%>
			<div class="inside-content" id="commodity_info_id"></div>
		</div>
	</div>
	<%@ include file="/jsp/fg/include/default_foot.jsp"%>	
</div>
</body>
</html>